package com.lemt.index;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

/**
 * @author zik
 * @description
 * @time 2023/5/31 18:53
 **/
@SpringBootApplication(scanBasePackages = {
        "com.lemt.mall",
        "com.lemt.user",
        "com.lemt.common"
})
@MapperScan({"com.lemt.**.mapper"})
@ComponentScan({"springfox.documentation.schema","com.lemt.*"})
@EnableSwagger2WebMvc
public class LemtApplication {
    public static void main(String[] args) {
        SpringApplication.run(LemtApplication.class, args);
    }
}
